import request from '@/config/axios'
// 获得产品教学类型列表
export const getFaqList = (params: any) => {
  return request.get({ url: '/afterSales/problem/getList', params })
}
// 创建产品教学类型信息
export const createFaq = (data: any) => {
  return request.post({ url: '/afterSales/problem/add', data })
}
// 获取产品教学类型信息
export const getFaq = (id: any) => {
  return request.get({ url: `/afterSales/problem/${id}` })
}
// 修改产品教学类型信息
export const updateFaq = (data: any) => {
  return request.put({ url: '/afterSales/problem/update', data })
}
// 删除产品教学类型信息
export const deleteFaq = (ids: any) => {
  return request.delete({ url: `/afterSales/problem/delete?id=` + ids })
}
